import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import 'swiper/css/swiper.css';
import axios from 'axios'
import {$get,$postKv,$postf,$postj} from'@/ajax/index2.js'
import qs from 'qs'
Vue.prototype.$axios = axios;
Vue.use(ElementUI);
Vue.use(VueAwesomeSwiper);
Vue.config.productionTip = false
axios.defaults.baseURL ="http://127.0.0.1"
Vue.prototype.$ip ="http://127.0.0.1"
Vue.prototype.$postKv=$postKv
Vue.prototype.$postf=$postf
Vue.prototype.$postj=$postj
Vue.prototype.$get=$get
Vue.prototype.$qs = qs;

new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
